﻿using CoreModule;
using ManagementModule;
using Prism.Ioc;
using Prism.Modularity;
using Prism.Regions;
using ResourceLocalization;
using System;
using System.Windows;

namespace IdResourceModule
{
    /// <summary>
    /// 印尼 文 模块
    /// </summary>
    [Prism.Modularity.Module(ModuleName = "IdResourceModule")]
    [Prism.Modularity.ModuleDependency("CoreModule")]
    [Prism.Modularity.ModuleDependency("UIModule")]
    [Prism.Modularity.ModuleDependency("ManagementModule")]
    public class Module : IModule
    {
      
        public Module()
        {
        }

        public void OnInitialized(IContainerProvider containerProvider)
        {
         
        }

        /// <summary>
        /// 配置
        /// </summary>
        /// <param name="containerRegistry"></param>
        public void RegisterTypes(IContainerRegistry containerRegistry)
        {
           containerRegistry.Register<IResourceProvider, ResourceProvider>(ResourceLocalization.ResLanguage.Id.ToString());
        }
    }
}